package com.vcc.service.service;

import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.ShareAccount;
import com.vcc.data.entity.ShareAccountConfig;
import com.vcc.service.boss.share.config.request.BossShareAccountConfigUpdateRequest;
import com.vcc.service.boss.share.config.response.BossShareAccountConfigResponse;

import java.util.List;

public interface ShareAccountConfigService extends IService<ShareAccountConfig> {

    List<BossShareAccountConfigResponse> listByUserId(Long userId);

    List<ShareAccountConfig> listByUserIds(List<Long> userIds);

    Boolean update(BossShareAccountConfigUpdateRequest request);

    ShareAccountConfig getByUserIdAndCardTypeId(Long userId, Long cardTypeId);

}
